<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>

搜索到网摘${page.count}个,每页显示${page.pageSize}条,当前显示
第${page.pageNum}页/共${page.pageCount}页&nbsp;&nbsp;
<c:if test="${page.pageCount>1}">
	<c:forEach var="i" begin="1" end="${page.pageCount}" step="1">
		<c:choose>
			<c:when test="${i==page.pageNum}">${i}</c:when>
			<c:otherwise>
				<a href="javascript:refreshSnippet('${tag}',${i})">${i}</a>
			</c:otherwise>
		</c:choose>
	</c:forEach>
</c:if>
<table class=lst>
	<c:forEach items="${page.list}" var="snippet">
		<TR>

			<td>
			<h3><a href="${snippet.snippet.url}" target="_blank">${snippet.title}</a></h3>
			<img src="images/visit.gif">${snippet.snippet.snippetCount}个fans收藏</a>&nbsp;相关标签
			<c:forEach items="${snippet.tagSet}" var="tag">
				<a class=tag href="viewTag/${tag.tagId}">${tag.title}</a>&nbsp;
	   </c:forEach><br>
			${snippet.snippet.descn}</td>
		</TR>
	</c:forEach>
</table>

<div align="center" style="background-color:#FFFFFF;"><c:if
	test="${page.pageNum>1}">
	<a href="javascript:refreshSnippet('${tag}',${page.pageNum-1})">上一页</a>
</c:if> <c:if test="${page.pageCount>page.pageNum}">
	<a href="javascript:refreshSnippet('${tag}',${page.pageNum+1})">下一页</a>
</c:if></div>
